package com.woniuxy.yuekeuser.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.yuekeuser.controller.Form.HotolCarForm;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.yuekeuser.model.Hotolcar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.yuekeuser.model.HotolcarImage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Freedom
 * @since 2020-11-03
 */
public interface IHotolcarService extends IService<Hotolcar> {
    public IPage<HotolCarForm> findAllHotolcar(Page<HotolCarForm> hotolcarPage, int hotolPeopleNum,int choose,int campsiteId);

    public void addHotelCar(Hotolcar hotolcar);
    public int findHotoCarIdByHotoCarName(String hotoCarName);
    public List<Hotolcar> findHotocars(String campsiteName,int index ,int size);
    public List<HotolcarImage> findcarImageByCarId(int id);
    public int findHotolcarCount(String campsiteName);
    public Hotolcar queryHotolCarById(int hotolcarId);
    public void addHotolcarHeat(Hotolcar hotolcar);

}
